name := """play-slick-seed"""

version := "1.0-SNAPSHOT"

lazy val root = (project in file(".")).enablePlugins(PlayScala)

scalaVersion := "2.11.7"

routesGenerator := InjectedRoutesGenerator

resolvers += "scalaz-bintray" at "https://dl.bintray.com/scalaz/releases"

libraryDependencies ++= Seq(
  "com.typesafe.play" %% "play-slick" % "3.0.1",
  "com.typesafe.play" %% "play-slick-evolutions" % "3.0.1",
  "com.h2database" % "h2" % "1.4.187",
  "org.scalatestplus.play" %% "scalatestplus-play" % "1.5.0" % "test",
  //  "com.typesafe.play.modules" %% "play-modules-redis" % "2.6.0",
  "com.github.karelcemus" %% "play-redis" % "1.6.0",
  "org.mariadb.jdbc" % "mariadb-java-client" % "1.4.6",
  // https://mvnrepository.com/artifact/org.postgresql/postgresql
  "org.postgresql" % "postgresql" % "9.4.1212",
  "com.typesafe.slick" %% "slick-codegen" % "3.2.1",
  filters,
  specs2 % Test
)

resolvers += "Sonatype snapshots" at "http://oss.sonatype.org/content/repositories/snapshots/"

//resolvers += "OSC" at "http://maven.oschina.net/content/groups/public"

fork in run := true